// import store from '@/vuex/store'
export default [
  {
    path: '/setting/advice',
    component: resolve => require(['../views/setting/Advice'], resolve),
    meta: {requiresAuth: true}
  },
  {
    path: '/setting/family',
    component: resolve => require(['../views/setting/Family'], resolve),
    meta: {requiresAuth: true, title: '就诊人管理'}
  },
  {
    path: '/setting/query-account',
    component: resolve => require(['../views/setting/QueryAccount'], resolve),
    meta: {requiresAuth: true, title: '账户查询'}
  },
  {
    path: '/setting/query-account/detail',
    component: resolve => require(['../views/setting/QueryAccountDetail'], resolve),
    meta: {requiresAuth: true, title: '交易查询'}
  },
  {
    path: '/setting/trade-history',
    component: resolve => require(['../views/setting/TradeHistory'], resolve),
    meta: {requiresAuth: true, title: '交易记录'}
  },
  {
    path: '/setting/family/add',
    component: resolve => require(['../views/setting/Add'], resolve),
    meta: {requiresAuth: true, title: '就诊人管理'}
  },
  {
    path: '/setting/myexpress',
    component: resolve => require(['../views/setting/MyExpress'], resolve)
  },
  {
    path: '/setting/myexpress/:id',
    component: resolve => require(['../views/setting/MyExpressDetail'], resolve)
  },
  {
    path: '/setting/improve-user-info',
    name: 'ImproveUserInfo',
    component: resolve => require(['../views/setting/ImproveUserInfo'], resolve),
    meta: {title: '个人信息完善'}
  },
  {
    path: '/setting/bind-visitcard',
    name: 'BindVisitcard',
    component: resolve => require(['../views/setting/BindVisitcard'], resolve),
    meta: {title: '身份认证'}
  },
  {
    path: '/setting/createOnline',
    name: 'CreateOnline',
    component: resolve => require(['../views/setting/CreateOnline'], resolve),
    meta: {title: '在线建档'}
  },
  {
    path: '/setting/bind-visitcard-modify',
    name: 'BindVisitcardModify',
    component: resolve => require(['../views/setting/BindVisitcardModify'], resolve),
    meta: {title: '认证管理'}
  },
  {
    path: '/setting/update-mobile',
    name: 'UpdateMobile',
    component: resolve => require(['../views/setting/UpdateMobile'], resolve),
    meta: {title: '修改手机号'}
  },
  {
    path: '/setting/update-mobile/bycard',
    name: 'UpdateMobileBycard',
    component: resolve => require(['../views/setting/UpdateMobileBycard'], resolve),
    meta: {title: '修改手机号'}
  },
  {
    path: '/setting/update-mobile/bymobile',
    name: 'UpdateMobileBymobile',
    component: resolve => require(['../views/setting/UpdateMobileBymobile'], resolve),
    meta: {title: '修改手机号'}
  },
  {
    path: '/setting/systemSetting',
    name: 'systemSetting',
    component: resolve => require(['../views/setting/systemSetting'], resolve),
    meta: {title: '系统设置'}
  },
  {
    path: '/setting/addresses',
    name: 'addresses',
    component: resolve => require(['../views/setting/Addresses'], resolve),
    meta: {title: '地址管理'}
  },
  {
    path: '/setting/edit-address',
    name: 'EditAddress',
    component: resolve => require(['../views/setting/EditAddress'], resolve),
    meta: {title: '更新地址'}
  },
  {
    path: '/setting/feedback',
    name: 'Feedback',
    component: resolve => require(['../views/setting/Feedback'], resolve),
    meta: {title: '意见反馈'}
  },
  {
    path: '/setting/feedback/list',
    name: 'FeedbackList',
    component: resolve => require(['../views/setting/FeedbackList'], resolve),
    meta: {title: '我的反馈'}
  }
]
